package ink.xiaobaibai.common;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @description:
 * @author: 小白白
 * @create: 2021-08-03
 **/

@Data
public class ClientInfo {

    public ClientInfo(@Length(max = 25) String name, String phone, @Length(max = 50) String address, Integer adminUserId) {
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.adminUserId = adminUserId;
    }

    public ClientInfo() {
    }

    @Length(max = 25)
    private String name;

    private String phone;

    @Length(max = 50)
    private String address;

    private Integer adminUserId;

}
